package com.meizu.hjcool7.androidchecklist.util;

import android.util.SparseArray;
import android.view.View;

public class ViewHolder
{
	private SparseArray<View> mViews;
	
	public ViewHolder()
	{
		mViews = new SparseArray<View>();
	}
	
	public void addView(int viewId,View view)
	{
		if (view != null)
		{
			mViews.put(viewId, view);
		}
	}
	
	public View getView(int viewId)
	{
		return mViews.get(viewId);
	}
}
